package com.qd.common.panda.domain.entity.hk.mq;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author sjk
 */
@Data
@Accessors(chain = true)
public class HttpMsgData<T> {
    /**
     * 业务数据
     */
    private T reqData;
    /**
     * 重试次数
     */
    private Integer retryCount = 1;


    public void freeData() {
        this.reqData = null;
        this.retryCount = null;
    }
}
